package com.xuerhua.yxt.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xuerhua.yxt.dao.GroupFruitsMapper;
import com.xuerhua.yxt.model.GroupFruits;
import com.xuerhua.yxt.page.Page;
import com.xuerhua.yxt.service.IGroupFruitsService;

@Service("groupFruitsService")
public class GroupFruitsServiceImpl implements IGroupFruitsService {

	@Autowired
	private GroupFruitsMapper groupFruitsMapper;
	
	@Override
	public int insertSelective(GroupFruits record) {
		return groupFruitsMapper.insertSelective(record);
	}

	@Override
	public GroupFruits selectByPrimaryKey(Integer id) {
		return groupFruitsMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(GroupFruits record) {
		return groupFruitsMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public List<GroupFruits> selectListByPage(Page<GroupFruits> page) {
		return groupFruitsMapper.selectListByPage(page);
	}

}
